package com.sky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @projectName: netty-cloud
 * @package: com.sky.entity
 * @className: User
 * @author: zhl
 * @description: TODO
 * @date: 2024/4/24 14:09
 * @version: 1.0
 */
@Data
public class SysUser implements Serializable {

    @TableId(value = "id" ,type = IdType.AUTO)
    @JsonSerialize(using= ToStringSerializer.class)
    public Long id;

    private String userName;

    private String nickName;

    private String password;

    private Integer status;

    private LocalDateTime createTime;

    private String createUser;

    private LocalDateTime updateTime;

    private String updateUser;
}
